<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>判断大三角</title>
</head>
<body>
<form action="triJudge" name="triSides" method="post">
    <p>请输入三角形的三条边:</p>
    边1: <input type="text" name="side_1">
    <br><br>
    边2: <input type="text" name="side_2">
    <br><br>
    边3: <input type="text" name="side_3">
    <br><br>
    <input type="submit" value="计算">
</form>
<%--<p id="result">--%>
<%--    <jsp:useBean id="triTypeResult" scope="request" class="com.test.servlet.JudgeServlet">--%>

<%--    </jsp:useBean>--%>
<%--</p>--%>
<%
    String result = (String) request.getAttribute("result");
%>
<p>
    <%=result%>
</p>
</body>
</html>